import request from "@/request";

export const pageQueryApi = (queryInfo: any) =>
  request.post("/afterPrintData/pageQuery", queryInfo);
export const afterPrintDeleteApi = (deleteRequest: any) =>
  request.post("/afterPrintData/delete", deleteRequest);
export const afterPrintUpdateApi = (updateRequest: any) =>
  request.post("/afterPrintData/update", updateRequest);
export const afterPrintSelectOneApi = (id: number) =>
  request.get("/afterPrintData/getOne", {
    params: {
      id,
    },
  });
export const afterPrintAddApi = (addRequest: any) =>
  request.post("/afterPrintData/add", addRequest);
export const afterPrintExport = (queryInfo: any) =>
  request.post("/afterPrintData/exportExcel", queryInfo, {
    responseType: "blob",
  });
